﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="viewMatchById.aspx.cs" Inherits="WebApplication1.viewMatchById" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <table style="width: 642px">
<h3 ForeColor="#F7F7F7"> Detailed view of each Matches of a Team</h3> 
<tr>
<td>
    <asp:DetailsView ID="dvViewMatchId" runat="server" AutoGenerateRows="False" 
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3" GridLines="Horizontal" Height="50px" Width="617px">
        <AlternatingRowStyle BackColor="#F7F7F7" />
        <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <Fields>
            <asp:BoundField DataField="MatchName" HeaderText="Match Name" />
            <asp:HyperLinkField DataNavigateUrlFields="TeamNavigationUrl" 
                DataTextField="TeamName" HeaderText="Team Name" />
            <asp:BoundField DataField="OppositeTeamName" HeaderText="Opposite Team Name" />
            <asp:BoundField DataField="HeldAt" HeaderText="Held At" />
            <asp:BoundField DataField="ShortHeldOn" HeaderText="Held On" />
            <asp:HyperLinkField DataNavigateUrlFields="NavigateUrl" 
                DataTextField="TeamBestPerformerName" 
                HeaderText="Best Performer from Home Team" />
            <asp:BoundField DataField="Results" HeaderText="Results" />
            <asp:BoundField DataField="DetailedResults" HeaderText="DetailedResults" />
        </Fields>
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
    </asp:DetailsView>
    </td>
</tr>
</table>

<table>
<tr>
<td class="style37">
    <asp:HyperLink ID="HyperLink1" runat="server" 
        NavigateUrl="~/viewAllMatches.aspx">Back to view all matches</asp:HyperLink>
    </td>
</tr>
</table>
</asp:Content>
